﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CodeBuilder.ServiceReference;

namespace CodeBuilder
{
    class ServiceHost
    {
        public static DataBaseClient _istance = null;
        public static DataBaseClient Instance
        {
            get
            {
                if (_istance == null)
                {
                    _istance = new DataBaseClient(ProxyHelper.GetBinding(), ProxyHelper.GetEndpoint());                   
                }
                return _istance;
            }
        }


        
        

    }
}
